package main

import "fmt"

func main() {
	handArray := []int{4, 5, 2, 7, 9, 3, 5, 7, 9, 4, 2, 2, 1, 5}
	for i := 0; i < len(handArray); i++ {
		for j := i + 1; j < len(handArray); j++ {
			if handArray[i] > handArray[j] {
				tmp := handArray[j]
				handArray[j] = handArray[i]
				handArray[i] = tmp
			}
		}
	}
	fmt.Println(handArray)
}
